using AutoMapper;
using WMS.BasicData.Clients;
using WMS.BasicData.Clients.Dto;
using WMS.StorageManagement.RepositoryDefinitions;
using WMS.StorageManagement.RepositoryDefinitions.Dto;

namespace WMS;

public class WMSApplicationAutoMapperProfile : Profile
{
    public WMSApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */

        CreateMap<Client, ClientDto>();
        CreateMap<ClientDto, Client>();
        CreateMap<RepositoryDefinitionDto, RepositoryDefinition>();
        CreateMap<RepositoryDefinition, RepositoryDefinitionDto>();
    }
}
